using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace DACNPM.ReportFile
{
    public partial class ThongKeNhapKhoReport : DevExpress.XtraReports.UI.XtraReport
    {
        public ThongKeNhapKhoReport()
        {
            InitializeComponent();
        }

        public void Load(String tuNgay,String denNgay)
        {
            lblTuNgay.Text = tuNgay;
            lblDenNgay.Text = denNgay;
            xrMaHang.DataBindings.Add("Text", DataSource, "id_Hang");
            xrTenHang.DataBindings.Add("Text", DataSource, "TenHang");
            xrNhaCungCap.DataBindings.Add("Text", DataSource, "TenNhaCungCap");
            xrNgayNhap.DataBindings.Add("Text", DataSource, "NgayNhap");
            xrSoLuong.DataBindings.Add("Text", DataSource, "SoLuongNhap");
            xrDonGia.DataBindings.Add("Text", DataSource, "DonGia");
            xrThanhTien.DataBindings.Add("Text", DataSource, "ThanhTien");
        }

    }
}
